package temp.lho.lws.service;

import temp.lho.lws.pojo.*;

import java.util.List;

public interface ISettlementService {

    /**
     * 获取理赔信息
     * @return
     */
    List<SettlementInfo> getSettlement(ClaimsInfo claims);

    /**
     * 获取理算信息
     * @param claims
     * @return
     */
    List<AdjustmentInfo> getAdjustment(ClaimsInfo claims);
    /**
     * 获取理赔信息总数
     * @return
     */
    Integer getCount(String table);

    /**
     *
     * @param warrantyId
     * @return
     */
    Integer getFrame(Integer warrantyId);

    /**
     * 理赔审核
     * @param claims
     * @return
     */
    Integer upSettlement(SettlementInfo settlement);

    /**
     * 结案操作
     * @param settlement
     * @return
     */
    Integer upCase(SettlementInfo settlement);

    /**
     * 新增理算信息
     * @param settlement
     * @return
     */
    Integer addClaims(SettlementInfo settlement);

    /**
     * 查询保单信息
     * @param claims
     * @return
     */
    List<WarrantyInfo> getWarranty(ClaimsInfo claims);

    /**
     * 查询投保人信息
     * @param claims
     * @return
     */
    List<PolicyholdersInfo> getPolicyholders(ClaimsInfo claims);

    /**
     * 获取被保人信息
     * @param claims
     * @return
     */
    List<RecognizeeInfo> getRecognizee(ClaimsInfo claims);

    /**
     * 删除理赔
     * @param settlement
     * @return
     */
    Integer delSettlement(SettlementInfo settlement);

    /**
     * 查询赔案信息
     * @param claims
     * @return
     */
    List<ClaimMainInfo> getCase(ClaimsInfo claims);

    /**
     * 查询保单号
     * @return
     */
    List<Integer> getWarrantyId();

    /**
     * 根据保单号查询赔案号
     * @param warrantyId
     * @return
     */
    List<String> getClaimsMainId(Integer warrantyId);

    /**
     * 根据理算ID查询理算详细信息
     * @param adjustmentid
     * @return
     */
    List<Adjustmentdetail> getAdjustmentDetail(Integer adjustmentid);

    /**
     * 新增理算
     * @param adjustment
     * @return
     */
    Integer addAdjustment(AdjustmentInfo adjustment);

    /**
     * 新增理算详情
     * @param adjustmentdetail
     * @return
     */
    Integer addAdjustmentdetail(Adjustmentdetail adjustmentdetail);

    /**
     * 查询最后一条理算ID
     * @return
     */
    Integer getAdjustmentId();

    /**
     * 删除理算信息
     * @param adjustmentid
     * @return
     */
    Integer delAdjustment(Integer adjustmentid);

    /**
     * 删除理算详细信息
     * @param adjustmentid
     * @return
     */
    Integer delAdjustmentDetail(Integer adjustmentid);


}
